package com.jinunn.system.model.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Set;

/**
 * @author Jindun
 * @version UserInfoVO.java, v0.1 2024年 07⽉ 11⽇  上午11:40 Jindun Exp $
 */
@Data
@Accessors(chain = true)
public class UserInfoVO implements Serializable {

    @Schema(description="用户ID")
    private Long userId;

    @Schema(description="用户名")
    private String username;

    @Schema(description="用户昵称")
    private String nickname;

    @Schema(description="头像地址")
    private String avatar;

    @Schema(description="用户角色编码集合")
    private Set<String> roles;

    @Schema(description="用户权限标识集合")
    private Set<String> perms;
}
